package cn.com.scooper.service.xf;

import cn.com.scooper.pojo.po.MineIotDevicePo;

import java.util.List;

public interface MineIotDeviceService {
    /**
     * 根据主键获取物联边坡设备
     *
     * @param deviceId
     * @return MineIotDevicePo
     */
    MineIotDevicePo getMineIotDeviceByDeviceId(String deviceId);

    /**
     * 插入物联边坡设备
     *
     * @param mineIotDevicePo
     * @return int
     */
    int saveMineIotDevice(MineIotDevicePo mineIotDevicePo);

    /**
     * 比例新增边坡设备
     *
     * @param deviceIdList
     * @return
     */
    int batchRemoveMineIotDevice(List<String> deviceIdList);

    /**
     * 修改物联边坡设备
     *
     * @param mineIotDevicePo
     * @return int
     */
    int updateMineIotDevice(MineIotDevicePo mineIotDevicePo);

    /**
     * 列表获取物联边坡设备
     *
     * @param mineIotDevicePo
     * @return List<MineIotDevicePo>
     */
    List<MineIotDevicePo> getMineIotDeviceList(MineIotDevicePo mineIotDevicePo);
}